package mspbots.data.tl.prod.quickbooks.model;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import mspbots.data.tl.entity.BaseTenantEntity;

import java.time.LocalDateTime;

/**
 * @author Jay.Yang
 */
@Data
@Builder
@EqualsAndHashCode(callSuper=false)
@AllArgsConstructor
@NoArgsConstructor
@TableName("qbo_accounts")
public class OnlineAccount extends BaseTenantEntity {

	private Integer accountId;
	private String name;
	private Boolean active;
	private String domain;
	private Boolean sparse;
	private String syncToken;
	private Boolean subAccount;
	private String accountType;
	private String description;
	private String accountSubType;
	private String classification;
	private Double currentBalance;
	private String fullyQualifiedName;
	private String currencyRefName;
	private String currencyRefValue;
	private Double currentBalanceWithSubAccounts;
	private LocalDateTime createTime;
	private LocalDateTime lastUpdatedTime;
	private LocalDateTime syncTime;
	private String acctNum;
}
